#include <QApplication>
#include<QWidget>
#include <iostream>
#include<postself.h>
#include<QDebug>


int main(int argc, char *argv[])
{

    QApplication a(argc, argv);

    PostSelf * tmp = new PostSelf();
    tmp->establishConnection("1",1);
    tmp->send("0001");

    QWidget w;
    w.setWindowTitle("Hello World!");
    w.show();
    //显示窗体
    return a.exec();

}
